<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>

<!DOCTYPE html>
<html lang="zh-CN">
	<head>
	    <%@ include file="../common.jsp" %>
	    <title>登录</title>
	    <link href="${path }/static/css/signin.css" rel="stylesheet">
  </head>

  <body>

	<%@ include file="../header.jsp" %>

    <div class="container">

      <form id="loginForm" class="form-signin" method="POST" action='${path }/user/doLogin?referer=<%=request.getParameter("referer") %>'>
        <h2 class="form-signin-heading">登录</h2>
        <label for="inputEmail" class="sr-only">用户名</label>
        <input type="text" name="username" class="form-control" placeholder="Email" required="" autofocus="">
        <label for="inputPassword" class="sr-only">密码</label>
        <input type="password" name="password" class="form-control" placeholder="密码" required="">
        <div class="checkbox">
          <label>
            <input type="checkbox" value="rewalker-me">保持登录一周
          </label>
        </div>
        <p>${msg }</p>
        <button class="btn btn-lg btn-primary btn-block" type="submit">登录</button>
        <a class="btn btn-lg btn-primary btn-block" href="#${path }/user/reg" disabled title="暂时不提供注册！">免费注册</a>
      </form>

    </div> <!-- /container -->

    <%@ include file="../footer.jsp" %>
    
</body></html>